<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	
	<xsl:param name="arg1"/>
	<xsl:param name="arg2"/>
	<xsl:param name="arg3" select="'0,0'"/>
	
	<xsl:template match="/">
		<templates xmlns="livcos.org/ns/cosmos/type">
			<template id="template_1">
				<title>Diagram Box</title>
				<content>
					<box id="box_1" ref="{$arg1}{if ($arg2) then '#' else ''}{$arg2}"
						pos="{if ($arg3 != '') then $arg3 else '0,0'}"
						xmlns="livcos.org/ns/doc/diagram"/>
				</content>
			</template>
		</templates>
	</xsl:template>
	
</xsl:stylesheet>
